# coding=cp1251
from django.conf.urls.defaults import *
from django.contrib import admin
import entity_urls
import frontoffice_urls
import settings

admin.autodiscover()

urlpatterns = patterns('',
    (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root':settings.DOC_ROOT}),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/', include(admin.site.urls)),

    (r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
)

